Instructions if WebSphere MQ Explorer is NOT available

  1. Create a queue manager.
    • crtmqm –q QM_QueueManager
  2. Start the queue manager.
    • strmqm
  3. Enable MQSC commands.
    • runmqsc
    • Create the queue to be used for receiving messages.
      • DEFINE QLOCAL(EXPEREQUEUE.QUEUE)
    • Create the dead letter queue.
      • DEFINE QLOCAL(EXPEREDEADLETTER.QUEUE)
    • Assign the dead letter queue to the queue manager.
      • ALTER QMGR DEADQ(EXPEREDEADLETTER.QUEUE)
    • Assign a backout threshold to the message receiving queue.
      • ALTER QLOCAL(EXPEREQUEUE.QUEUE) BOTHRESH(4)
    • Create and start the server connection channel.
      • DEFINE CHANNEL(EXPERECHANNEL) CHLTYPE(SVRCONN)
      • START CHANNEL(EXPERECHANNEL)
    • Start the listener.
      • START LISTENER(SYSTEM.DEFAULT.LISTENER.TCP)
  4. Exit MQSC.
    • end